package com.onepower.core.modules.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kin
 * @since 2018-08-24
 */
@TableName("match_referee_rule")
public class MatchRefereeRule implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 规则代码
     */
	@TableField("match_rule_code")
	private String matchRuleCode;
    /**
     * 规则说明
     */
	@TableField("match_rule_doc")
	private String matchRuleDoc;
    /**
     * 规则名称
     */
	@TableField("match_rule_name")
	private String matchRuleName;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMatchRuleCode() {
		return matchRuleCode;
	}

	public void setMatchRuleCode(String matchRuleCode) {
		this.matchRuleCode = matchRuleCode;
	}

	public String getMatchRuleDoc() {
		return matchRuleDoc;
	}

	public void setMatchRuleDoc(String matchRuleDoc) {
		this.matchRuleDoc = matchRuleDoc;
	}

	public String getMatchRuleName() {
		return matchRuleName;
	}

	public void setMatchRuleName(String matchRuleName) {
		this.matchRuleName = matchRuleName;
	}

	@Override
	public String toString() {
		return "MatchRefereeRule{" +
			", id=" + id +
			", matchRuleCode=" + matchRuleCode +
			", matchRuleDoc=" + matchRuleDoc +
			", matchRuleName=" + matchRuleName +
			"}";
	}
}
